MercadoPago\Woocommerce\Order\OrderStatus A

Total Complexity 65
Dependencies 7
Dependents 6
Total lines 486
Lines of code 244
Logical lines of code 134
Comment lines 154
Methods 20
Properties 6

Methods 20

Method Rating Maintainability Complexity Lines of code
approvedFlow()
A
52 10 22
processStatus()
A
50 9 30
refundedFlow()
S
48 6 32
pendingFlow()
S
51 6 28
getPaymentsData()
S
57 4 16
validateOrderNoteType()
S
61 4 11
getRefundedStatusDetail()
S
60 3 14
canUpdateOrderStatus()
S
72 3 5
isPartialRefund()
S
65 3 8
setOrderStatus()
S
71 2 6
getOrderStatusMessage()
S
70 2 6
inProcessFlow()
S
64 2 10
rejectedFlow()
S
64 2 10
cancelledFlow()
S
64 2 10
isMerchantOrder()
S
78 2 3
mapMpStatusToWoocommerceStatus()
S
60 1 14
__construct()
S
67 1 8
inMediationFlow()
S
75 1 4
chargedBackFlow()
S
75 1 4
isNotification()
S
79 1 3